<template>
  <view>
     <view class="my-search-container">
          <view class="my-search-box" @click='gotoSearchPage'>
            <uni-icons type="search" size="17"></uni-icons>
            <text class="placeholder">找寻小伙伴吧~</text>
          </view>
        </view>
  </view>
</template>

<script>
  export default {
    name:"user-search",
    data() {
      return {
        
      };
    },
    methods: {
      gotoSearchPage() {
       this.$emit('click')
      }
    }
  }
</script>

<style lang="scss">
  .my-search-container {
      height: 50px;
      display: flex;
      align-items: center;
      padding: 0 10px;
    }
    
     .my-search-box {
      width: 350px;
      height: 36px;
      background-color: #FFFFFF;
      display: flex;
      justify-content: center;
      align-items: center;
      border-radius: 18px;
      border: 1px solid #BCBCBC;
      
      .placeholder {
        font-size: 15px;
        margin-left: 5px;
      }
    }
</style>
